Repository navigation
Conversation
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the Core Committers: Use this line as a base for the props when committing in SVN: To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
Test using WordPress PlaygroundThe changes in this pull request can previewed and tested using a WordPress Playground instance. WordPress Playground is an experimental project that creates a full WordPress instance entirely within the browser. Some things to be aware of
For more details about these limitations and more, check out the Limitations page in the WordPress Playground documentation. |
|
|
||
| $query = new WP_Comment_Query(); | ||
| $query_result = $query->query( $prepared_args ); | ||
| $comments = array(); |
There was a problem hiding this comment.
Just a minor fix to satisfy static checks.
| add_filter( 'post_password_required', array( $this, 'check_password_required' ), 10, 2 ); | ||
| } | ||
|
|
||
| $posts = array(); |
f87f501 to
e25e60a
Compare
|
Did we rule out the possibility of just communicating this with the schema? We should be able to detect using the presence of |
I don't think we can use per-record filters ( The links are also easy to use in the UI where we render large lists, like DataViews and Notes. |
|
Thanks for the review, @TimothyBJacobs! |
|
Thanks for sorting this out @Mamaduka! |
Gutenberg PR: WordPress/gutenberg#84045
Alternative to: #9210.
Trac ticket: https://core.trac.wordpress.org/ticket/63670
PR adds a new
wp:action-trashaction link to posts and comment endpoints, which can be used to check if the entity allows the trash action.Use of AI Tools
AI assistance: Yes
Tool(s): Claude
Model(s): Opus 5.5
Used for: Porting the code from the source PR; reviewed by me.